# coding: UTF-8 -*-
'''
Created on 08/05/2009

@author: nirg
'''

import CGIHTTPServer
import BaseHTTPServer
import os

os.chdir(os.path.split(__file__)[0])

class Handler(CGIHTTPServer.CGIHTTPRequestHandler):
    cgi_directories = ["/GMT/miner"]

PORT = 9000

httpd = BaseHTTPServer.HTTPServer(("", PORT), Handler)
print "serving at port", PORT
httpd.serve_forever()
